/*
 * @Author: yangrongxin
 * @Date: 2021-05-07 17:15:08
 * @LastEditors: yangrongxin
 * @LastEditTime: 2021-05-08 16:29:03
 */

import RequestDecorator, { Controller } from '../decorator';

@Controller('/hhtmanager/education/live')
class Live {
  // 获取列表
  @RequestDecorator.Post()
  static getLiveList = '/room/page';

  // 新增直播
  @RequestDecorator.Post()
  static saveLive = '/save';

  // 推荐直播
  @RequestDecorator.Post()
  static upLive = '/update/recommend';

  // 更改直播状态
  @RequestDecorator.Post()
  static updateStatus = '/update/user/status';

  // 获取直播详情
  @RequestDecorator.Post()
  static getLiveDetail = '/detail';
}

export default Live;
